package com.xu.crawler.service.impl;

import com.xu.crawler.dao.FailRecordDao;
import com.xu.crawler.dao.entity.FailRecordDO;
import com.xu.crawler.service.FailRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 失败记录处理类
 * <p>
 * Created by clear on 2018/7/17.
 */
@Service
public class FailRecordServiceImpl implements FailRecordService {

    @Resource
    private FailRecordDao failRecordDao;

    @Override
    public List<FailRecordDO> queryFails() {
        return failRecordDao.queryFails();
    }
}
